[INFO] cloning repository https://github.com/adust09/Rust-VM
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/adust09/Rust-VM" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadust09%2FRust-VM", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadust09%2FRust-VM'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 24b4b2b98fa5f8e5221c2bfd7243fb7d7ecf8349
[INFO] checking adust09/Rust-VM against master#fdca237d5194bf8a1c9b437ebd2114d1c2ba6195 for pr-97739
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadust09%2FRust-VM" "/workspace/builds/worker-5/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/adust09/Rust-VM on toolchain fdca237d5194bf8a1c9b437ebd2114d1c2ba6195
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+fdca237d5194bf8a1c9b437ebd2114d1c2ba6195" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/adust09/Rust-VM
[INFO] finished tweaking git repo https://github.com/adust09/Rust-VM
[INFO] tweaked toml for git repo https://github.com/adust09/Rust-VM written to /workspace/builds/worker-5/source/Cargo.toml
[INFO] crate git repo https://github.com/adust09/Rust-VM already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+fdca237d5194bf8a1c9b437ebd2114d1c2ba6195" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+fdca237d5194bf8a1c9b437ebd2114d1c2ba6195" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] aa4e5eec91bed095c60104d7c3c40abfcf63d36df17e38a0e0e2b025908a3be2
[INFO] running `Command { std: "docker" "start" "-a" "aa4e5eec91bed095c60104d7c3c40abfcf63d36df17e38a0e0e2b025908a3be2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "aa4e5eec91bed095c60104d7c3c40abfcf63d36df17e38a0e0e2b025908a3be2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "aa4e5eec91bed095c60104d7c3c40abfcf63d36df17e38a0e0e2b025908a3be2", kill_on_drop: false }`
[INFO] [stdout] aa4e5eec91bed095c60104d7c3c40abfcf63d36df17e38a0e0e2b025908a3be2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+fdca237d5194bf8a1c9b437ebd2114d1c2ba6195" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 991c8f1a145999efd6dc2896f84823f225b7de5560c1b7f19e6d151f81f85722
[INFO] running `Command { std: "docker" "start" "-a" "991c8f1a145999efd6dc2896f84823f225b7de5560c1b7f19e6d151f81f85722", kill_on_drop: false }`
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]    Compiling version_check v0.1.5
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]     Checking regex-syntax v0.6.26
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]     Checking quick-error v1.2.3
[INFO] [stderr]     Checking unicode-width v0.1.9
[INFO] [stderr]     Checking ansi_term v0.12.1
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]     Checking termcolor v1.1.3
[INFO] [stderr]     Checking strsim v0.8.0
[INFO] [stderr]     Checking yaml-rust v0.3.5
[INFO] [stderr]     Checking vec_map v0.8.2
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]     Checking humantime v1.3.0
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]    Compiling nom v4.2.3
[INFO] [stderr]     Checking aho-corasick v0.7.18
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking clap v2.34.0
[INFO] [stderr]     Checking regex v1.5.6
[INFO] [stderr]     Checking env_logger v0.5.13
[INFO] [stderr]     Checking iridium v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `,`
[INFO] [stdout]   --> src/assembler/mod.rs:95:39
[INFO] [stdout]    |
[INFO] [stdout] 95 |     pub fn new(name:String,symbol_type,offset:u32)->Symbol{
[INFO] [stdout]    |                                       ^ expected one of `:`, `@`, or `|`
[INFO] [stdout]    |
[INFO] [stdout]    = note: anonymous parameters are removed in the 2018 edition (see RFC 1685)
[INFO] [stdout] help: if this is a parameter name, give it a type
[INFO] [stdout]    |
[INFO] [stdout] 95 |     pub fn new(name:String,symbol_type: TypeName,offset:u32)->Symbol{
[INFO] [stdout]    |                                       ++++++++++
[INFO] [stdout] help: if this is a type, explicitly ignore the parameter name
[INFO] [stdout]    |
[INFO] [stdout] 95 |     pub fn new(name:String,_: symbol_type,offset:u32)->Symbol{
[INFO] [stdout]    |                            ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `,`
[INFO] [stdout]   --> src/assembler/mod.rs:95:39
[INFO] [stdout]    |
[INFO] [stdout] 95 |     pub fn new(name:String,symbol_type,offset:u32)->Symbol{
[INFO] [stdout]    |                                       ^ expected one of `:`, `@`, or `|`
[INFO] [stdout]    |
[INFO] [stdout]    = note: anonymous parameters are removed in the 2018 edition (see RFC 1685)
[INFO] [stdout] help: if this is a parameter name, give it a type
[INFO] [stdout]    |
[INFO] [stdout] 95 |     pub fn new(name:String,symbol_type: TypeName,offset:u32)->Symbol{
[INFO] [stdout]    |                                       ++++++++++
[INFO] [stdout] help: if this is a type, explicitly ignore the parameter name
[INFO] [stdout]    |
[INFO] [stdout] 95 |     pub fn new(name:String,_: symbol_type,offset:u32)->Symbol{
[INFO] [stdout]    |                            ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0428]: the name `Assembler` is defined multiple times
[INFO] [stdout]   --> src/assembler/mod.rs:23:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct Assembler {
[INFO] [stdout]    | -------------------- previous definition of the type `Assembler` here
[INFO] [stdout] ...
[INFO] [stdout] 23 | pub struct Assembler {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^ `Assembler` redefined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Assembler` must be defined only once in the type namespace of this module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0428]: the name `Assembler` is defined multiple times
[INFO] [stdout]   --> src/assembler/mod.rs:23:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct Assembler {
[INFO] [stdout]    | -------------------- previous definition of the type `Assembler` here
[INFO] [stdout] ...
[INFO] [stdout] 23 | pub struct Assembler {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^ `Assembler` redefined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Assembler` must be defined only once in the type namespace of this module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read src/cli.yml: No such file or directory (os error 2)
[INFO] [stdout]   --> src/main.rs:19:16
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let yaml = load_yaml!("cli.yml");
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]   --> src/assembler/mod.rs:37:17
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub fn assemble(&mut self, raw: &str) -> Option<Vec<u8>> {
[INFO] [stdout]    |                 ^^^^^^^^^ not semantically valid as function parameter
[INFO] [stdout]    |
[INFO] [stdout]    = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]   --> src/assembler/mod.rs:57:24
[INFO] [stdout]    |
[INFO] [stdout] 57 | fn process_first_phase(&mut self, p: &Program){
[INFO] [stdout]    |                        ^^^^^^^^^ not semantically valid as function parameter
[INFO] [stdout]    |
[INFO] [stdout]    = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]   --> src/assembler/mod.rs:62:25
[INFO] [stdout]    |
[INFO] [stdout] 62 | fn process_second_phase(&mut self, p: &Program) -> Vec<u8> {
[INFO] [stdout]    |                         ^^^^^^^^^ not semantically valid as function parameter
[INFO] [stdout]    |
[INFO] [stdout]    = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]   --> src/assembler/mod.rs:71:19
[INFO] [stdout]    |
[INFO] [stdout] 71 | fn extract_labels(&mut self, p: &Program) {
[INFO] [stdout]    |                   ^^^^^^^^^ not semantically valid as function parameter
[INFO] [stdout]    |
[INFO] [stdout]    = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]    --> src/assembler/mod.rs:160:21
[INFO] [stdout]     |
[INFO] [stdout] 160 | fn write_pie_header(&self) -> Vec<u8>{
[INFO] [stdout]     |                     ^^^^^ not semantically valid as function parameter
[INFO] [stdout]     |
[INFO] [stdout]     = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `assembler`
[INFO] [stdout]  --> src/assembler/operand_parsers.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use assembler::register_parsers::register;
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared crate or module `assembler`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `assembler`
[INFO] [stdout]  --> src/vm.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use assembler::{PIE_HEADER_LENGTH, PIE_HEADER_PREFIX};
[INFO] [stdout]   |     ^^^^^^^^^ help: a similar path exists: `crate::assembler`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `use` statements changed in Rust 2018; read more at <https://doc.rust-lang.org/edition-guide/rust-2018/module-system/path-clarity.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read src/cli.yml: No such file or directory (os error 2)
[INFO] [stdout]   --> src/main.rs:19:16
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let yaml = load_yaml!("cli.yml");
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]   --> src/assembler/mod.rs:37:17
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub fn assemble(&mut self, raw: &str) -> Option<Vec<u8>> {
[INFO] [stdout]    |                 ^^^^^^^^^ not semantically valid as function parameter
[INFO] [stdout]    |
[INFO] [stdout]    = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]   --> src/assembler/mod.rs:57:24
[INFO] [stdout]    |
[INFO] [stdout] 57 | fn process_first_phase(&mut self, p: &Program){
[INFO] [stdout]    |                        ^^^^^^^^^ not semantically valid as function parameter
[INFO] [stdout]    |
[INFO] [stdout]    = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]   --> src/assembler/mod.rs:62:25
[INFO] [stdout]    |
[INFO] [stdout] 62 | fn process_second_phase(&mut self, p: &Program) -> Vec<u8> {
[INFO] [stdout]    |                         ^^^^^^^^^ not semantically valid as function parameter
[INFO] [stdout]    |
[INFO] [stdout]    = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]   --> src/assembler/mod.rs:71:19
[INFO] [stdout]    |
[INFO] [stdout] 71 | fn extract_labels(&mut self, p: &Program) {
[INFO] [stdout]    |                   ^^^^^^^^^ not semantically valid as function parameter
[INFO] [stdout]    |
[INFO] [stdout]    = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]    --> src/assembler/mod.rs:160:21
[INFO] [stdout]     |
[INFO] [stdout] 160 | fn write_pie_header(&self) -> Vec<u8>{
[INFO] [stdout]     |                     ^^^^^ not semantically valid as function parameter
[INFO] [stdout]     |
[INFO] [stdout]     = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `assembler`
[INFO] [stdout]  --> src/assembler/operand_parsers.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use assembler::register_parsers::register;
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared crate or module `assembler`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `assembler`
[INFO] [stdout]  --> src/vm.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use assembler::{PIE_HEADER_LENGTH, PIE_HEADER_PREFIX};
[INFO] [stdout]   |     ^^^^^^^^^ help: a similar path exists: `crate::assembler`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `use` statements changed in Rust 2018; read more at <https://doc.rust-lang.org/edition-guide/rust-2018/module-system/path-clarity.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssemblerPhase`
[INFO] [stdout]   --> src/assembler/mod.rs:31:20
[INFO] [stdout]    |
[INFO] [stdout] 31 |             phase: AssemblerPhase::First,
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^ use of undeclared type `AssemblerPhase`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssemblerPhase`
[INFO] [stdout]   --> src/assembler/mod.rs:59:18
[INFO] [stdout]    |
[INFO] [stdout] 59 |     self.phase = AssemblerPhase::Second;
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^ use of undeclared type `AssemblerPhase`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssemblerPhase`
[INFO] [stdout]   --> src/assembler/mod.rs:31:20
[INFO] [stdout]    |
[INFO] [stdout] 31 |             phase: AssemblerPhase::First,
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^ use of undeclared type `AssemblerPhase`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssemblerPhase`
[INFO] [stdout]   --> src/assembler/mod.rs:59:18
[INFO] [stdout]    |
[INFO] [stdout] 59 |     self.phase = AssemblerPhase::Second;
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^ use of undeclared type `AssemblerPhase`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `AssemblerPhase` in this scope
[INFO] [stdout]   --> src/assembler/mod.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 19 |     phase: AssemblerPhase,
[INFO] [stdout]    |            ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `AssemblerPhase` in this scope
[INFO] [stdout]   --> src/assembler/mod.rs:24:16
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub phase: AssemblerPhase,
[INFO] [stdout]    |                ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `program` in this scope
[INFO] [stdout]   --> src/assembler/mod.rs:38:11
[INFO] [stdout]    |
[INFO] [stdout] 38 |     match program(CompleteStr(raw)) {
[INFO] [stdout]    |           ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CompleteStr` in this scope
[INFO] [stdout]   --> src/assembler/mod.rs:38:19
[INFO] [stdout]    |
[INFO] [stdout] 38 |     match program(CompleteStr(raw)) {
[INFO] [stdout]    |                   ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use nom::types::CompleteStr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Program` in this scope
[INFO] [stdout]   --> src/assembler/mod.rs:57:39
[INFO] [stdout]    |
[INFO] [stdout] 57 | fn process_first_phase(&mut self, p: &Program){
[INFO] [stdout]    |                                       ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Program` in this scope
[INFO] [stdout]   --> src/assembler/mod.rs:62:40
[INFO] [stdout]    |
[INFO] [stdout] 62 | fn process_second_phase(&mut self, p: &Program) -> Vec<u8> {
[INFO] [stdout]    |                                        ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Program` in this scope
[INFO] [stdout]   --> src/assembler/mod.rs:71:34
[INFO] [stdout]    |
[INFO] [stdout] 71 | fn extract_labels(&mut self, p: &Program) {
[INFO] [stdout]    |                                  ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `program` in this scope
[INFO] [stdout]   --> src/repl/mod.rs:48:41
[INFO] [stdout]    |
[INFO] [stdout] 48 |                     let program = match program(buffer.into()) {
[INFO] [stdout]    |                                         ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/main.rs:5:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]   --> src/assembler/opcode_parsers.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/assembler/operand_parsers.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | / /// Parser for all numbers, which have to be prefaced with `#` in our assembly language:
[INFO] [stdout] 13 | | /// #100
[INFO] [stdout]    | |_-------^
[INFO] [stdout]    |   |
[INFO] [stdout]    |   rustdoc does not generate documentation for macro invocations
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stdout]    = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::assembler::register_parsers::register`
[INFO] [stdout]  --> src/assembler/operand_parsers.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::assembler::register_parsers::register;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::instruction::Opcode`
[INFO] [stdout]  --> src/assembler/operand_parsers.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::instruction::Opcode;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::instruction::Opcode`
[INFO] [stdout]  --> src/assembler/register_parsers.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::instruction::Opcode;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Cursor`
[INFO] [stdout]  --> src/vm.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::Cursor;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::net::SocketAddr`
[INFO] [stdout]  --> src/vm.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::net::SocketAddr;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Arc`, `RwLock`
[INFO] [stdout]  --> src/vm.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::sync::{Arc, RwLock};
[INFO] [stdout]   |                 ^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]  --> src/vm.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::thread;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `AssemblerPhase` in this scope
[INFO] [stdout]   --> src/assembler/mod.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 19 |     phase: AssemblerPhase,
[INFO] [stdout]    |            ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `AssemblerPhase` in this scope
[INFO] [stdout]   --> src/assembler/mod.rs:24:16
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub phase: AssemblerPhase,
[INFO] [stdout]    |                ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `program` in this scope
[INFO] [stdout]   --> src/assembler/mod.rs:38:11
[INFO] [stdout]    |
[INFO] [stdout] 38 |     match program(CompleteStr(raw)) {
[INFO] [stdout]    |           ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CompleteStr` in this scope
[INFO] [stdout]   --> src/assembler/mod.rs:38:19
[INFO] [stdout]    |
[INFO] [stdout] 38 |     match program(CompleteStr(raw)) {
[INFO] [stdout]    |                   ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use nom::types::CompleteStr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Program` in this scope
[INFO] [stdout]   --> src/assembler/mod.rs:57:39
[INFO] [stdout]    |
[INFO] [stdout] 57 | fn process_first_phase(&mut self, p: &Program){
[INFO] [stdout]    |                                       ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Program` in this scope
[INFO] [stdout]   --> src/assembler/mod.rs:62:40
[INFO] [stdout]    |
[INFO] [stdout] 62 | fn process_second_phase(&mut self, p: &Program) -> Vec<u8> {
[INFO] [stdout]    |                                        ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Program` in this scope
[INFO] [stdout]   --> src/assembler/mod.rs:71:34
[INFO] [stdout]    |
[INFO] [stdout] 71 | fn extract_labels(&mut self, p: &Program) {
[INFO] [stdout]    |                                  ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VM`
[INFO] [stdout]    --> src/assembler/mod.rs:151:18
[INFO] [stdout]     |
[INFO] [stdout] 151 |     let mut vm = VM::new();
[INFO] [stdout]     |                  ^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use crate::vm::VM;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `program` in this scope
[INFO] [stdout]   --> src/repl/mod.rs:48:41
[INFO] [stdout]    |
[INFO] [stdout] 48 |                     let program = match program(buffer.into()) {
[INFO] [stdout]    |                                         ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `prepend_header` in this scope
[INFO] [stdout]    --> src/vm.rs:316:27
[INFO] [stdout]     |
[INFO] [stdout] 316 |         test_vm.program = prepend_header(test_vm.program);
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/main.rs:5:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/assembler/operand_parsers.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | / /// Parser for all numbers, which have to be prefaced with `#` in our assembly language:
[INFO] [stdout] 13 | | /// #100
[INFO] [stdout]    | |_-------^
[INFO] [stdout]    |   |
[INFO] [stdout]    |   rustdoc does not generate documentation for macro invocations
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stdout]    = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::assembler::register_parsers::register`
[INFO] [stdout]  --> src/assembler/operand_parsers.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::assembler::register_parsers::register;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::instruction::Opcode`
[INFO] [stdout]  --> src/assembler/operand_parsers.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::instruction::Opcode;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::instruction::Opcode`
[INFO] [stdout]  --> src/assembler/register_parsers.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::instruction::Opcode;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::vm::VM`
[INFO] [stdout]    --> src/instruction.rs:118:9
[INFO] [stdout]     |
[INFO] [stdout] 118 |     use crate::vm::VM;
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Cursor`
[INFO] [stdout]  --> src/vm.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::Cursor;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::net::SocketAddr`
[INFO] [stdout]  --> src/vm.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::net::SocketAddr;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Arc`, `RwLock`
[INFO] [stdout]  --> src/vm.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::sync::{Arc, RwLock};
[INFO] [stdout]   |                 ^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]  --> src/vm.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::thread;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0119]: conflicting implementations of trait `std::fmt::Debug` for type `assembler::Assembler`
[INFO] [stdout]   --> src/assembler/mod.rs:22:10
[INFO] [stdout]    |
[INFO] [stdout] 17 | #[derive(Debug)]
[INFO] [stdout]    |          ----- first implementation here
[INFO] [stdout] ...
[INFO] [stdout] 22 | #[derive(Debug)]
[INFO] [stdout]    |          ^^^^^ conflicting implementation for `assembler::Assembler`
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0119]: conflicting implementations of trait `std::fmt::Debug` for type `assembler::Assembler`
[INFO] [stdout]   --> src/assembler/mod.rs:22:10
[INFO] [stdout]    |
[INFO] [stdout] 17 | #[derive(Debug)]
[INFO] [stdout]    |          ----- first implementation here
[INFO] [stdout] ...
[INFO] [stdout] 22 | #[derive(Debug)]
[INFO] [stdout]    |          ^^^^^ conflicting implementation for `assembler::Assembler`
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 21 previous errors; 10 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0119, E0412, E0425, E0428, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0119`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `iridium` due to 22 previous errors; 10 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 23 previous errors; 10 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0119, E0412, E0425, E0428, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0119`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `iridium` due to 24 previous errors; 10 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "991c8f1a145999efd6dc2896f84823f225b7de5560c1b7f19e6d151f81f85722", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "991c8f1a145999efd6dc2896f84823f225b7de5560c1b7f19e6d151f81f85722", kill_on_drop: false }`
[INFO] [stdout] 991c8f1a145999efd6dc2896f84823f225b7de5560c1b7f19e6d151f81f85722
